package cn.wolfcode.wms.service;

import cn.wolfcode.wms.domain.Department;
import cn.wolfcode.wms.page.PageResult;
import cn.wolfcode.wms.qo.QueryObject;

import java.util.List;

public interface DepartmentService {

    void deleteById(Long id);
    void updateOrSave(Department department);
    Department getById(Long id);
    List<Department> selectAll();
    PageResult query(QueryObject qo);
}
